<%@ page language="java" contentType="text/html; charset=UTF-8"
	isELIgnored="false" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib uri="/mytag" prefix="yjd"%>

<div class="wrap">
<div class="nav">
	<ul class="cc">
	    <li><a href="<yjd:url url="/online/list"/>">充值记录</a></li>
		<li class="current"><a href="#">充值统计</a></li>
	</ul>
</div>
    <div class="h_a">搜索</div>
	<div class="search_type cc mb10">
		<form autocomplete="off" method="get" action="<yjd:url url="/online/statis"/>">
		<label>起始时间：</label>
		<input type="text" value="${paramMap.start }" class="input length_1 mr10 J_date date" name="start">
		<label>截至时间：</label>
		<input type="text" value="${paramMap.end }" class="input length_1 mr10 J_date date" name="end">
		<button class="btn btn_submit length_1" type="submit">搜索</button>
	</div>
	<div class="h_a">平台统计</div>
	<div class="count cc">
	    <div class="c-box">
		    <div class="c-box-head">充值渠道交易金额(单位:元)</div>
			<div id="channelAmountArray" style="width: 500px; height: 500px">
			    
			</div>
		</div>
		<div class="c-box">
		    <div class="c-box-head">充值渠道交易量(单位:笔)</div>
			<div id="channelCountArray" style="width: 500px; height: 500px">
			    
			</div>
		</div>
	</div>
	<div class="h_a">充值银行交易量（单位:笔）</div>
		<div class="count cc" id="bankCountArray">
				
		</div>
    
    <div class="h_a">充值银行交易金额（单位:元）</div>
	<div class="count cc" id="bankAmountArray">
	    	
	</div>
</div>
<div style="display: none;" id="json">
	${json }
</div>
<script type="text/javascript">
	YJD.use('AppUserOnlineStatis', function(main){
		$(document).ready(function() {
			main.init();
		});
	});
</script>